package cn.nubia.admin.sysconfig.bean;

import cn.nubia.admin.common.mybatis.annotations.Id;
import cn.nubia.admin.common.mybatis.annotations.Table;

import java.io.Serializable;

/**
 * Created by cnJason
 * 用户资源表
 */
@Table(value = "t_user_resource")
public class UserResource  implements Serializable {


    private static final long serialVersionUID = 1L;

    /**
     * id.
     */
    @Id(value = "user_resource_id")
    private Integer id;

    /**
     * 用户id.
     */
    private Integer userId;


    /**
     * 资源id列表.
     */
    private String resourceIds;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getResourceIds() {
        return resourceIds;
    }

    public void setResourceIds(String resourceIds) {
        this.resourceIds = resourceIds;
    }
}
